package com.example.spring.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sys_user")
public class SysUser {
    @TableId(type = IdType.AUTO)// 主键自增
    private Integer userId;// 用户id
//    @TableField("username")
    private String username;// 用户名
    private String password;
    private String nickName;
    private String sex;
    private String phone;
    private String status;
    private String isAdmin;
}
